﻿using Abp.AutoMapper;
using GN.Pay.Core.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Application.MerchantApp.Dto.Input
{
    /// <summary>
    /// 注册通道输入
    /// </summary>
    [AutoMap(typeof(MerchantAppChannel))]
    public class MerchantAppChannelRegisterInput
    {
        /// <summary>
        /// 应用Id
        /// </summary>
        [Required]
        [StringLength(maximumLength: 32)]
        public string AppId { get; set; }

        /// <summary>
        /// 应用通道Id
        /// </summary>
        [Required]
        [StringLength(maximumLength: 20)]
        public string ChannelId { get; set; }

        /// <summary>
        /// 配置数据
        /// </summary>
        [Required]
        public Dictionary<string, object> ConfigureInfo { get; set; }

    }
}
